import request from "@/utils/request";

//列表
export const tcFeeConfigList = (data) =>
  request({
    url: `/fee/tc-fee-config/index`,
    method: "post",
    data,
  });
//获取头程费用项
export const optsTcFeeConfig = (data) =>
  request({
    url: `/opts/tc-fee-config`,
    method: "post",
    data,
  });
//获取头程主费用项
export const optsTcMainConfig = (data) =>
  request({
    url: `/opts/finance-tc-main-fee`,
    method: "post",
    data,
  });
//详情
export const tcFeeConfigDetail = (params) =>
  request({
    url: `/fee/tc-fee-config/detail`,
    method: "get",
    params,
  });
//新增
export const tcFeeConfigCreate = (data) =>
  request({
    url: `/fee/tc-fee-config/create`,
    method: "post",
    data,
  });
//编辑
export const tcFeeConfigUpdate = (data) =>
  request({
    url: `/fee/tc-fee-config/update`,
    method: "post",
    data,
  });
  //启用禁用
  export const tcFeeConfigStatus = (data) =>
  request({
    url: `/fee/tc-fee-config/status`,
    method: "post",
    data,
  });
 
